import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: '',
    component: () => import('../views/login/index.vue')
  },
  {
    path: '/dingzhi',
    name: 'dingzhi',
    component: () => import('../views/dingzhi/index.vue')
  },
  {
    path: '/shichang',
    name: 'shichang',
    component: () => import('../views/shichang/index.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
